<!--
 * @Author: liu-tiezhu1 1471528799@qq.com
 * @Date: 2023-11-25 11:03:40
 * @LastEditors: liu-tiezhu1 1471528799@qq.com
 * @LastEditTime: 2023-11-25 16:29:31
 * @FilePath: \customer-relations\src\views\Message\Sysinfo\Syslist\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->

<template>
    <el-button type="primary" @click="onChan()">未读消息</el-button>
    <el-button type="primary" @click="onChen()">已读消息</el-button>

    <hr />


    <component :is="iscomenaa" ></component>
</template>


<script setup lang="ts">
import weiList from "/src/views/Message/Sysinfo/Syslist/weiList.vue"
import yiduList from "/src/views/Message/Sysinfo/Syslist/yiduList.vue"




import { ref } from 'vue'

const iscomenaa = ref<object>(weiList)

const onChan = () => {
    iscomenaa.value = weiList
}
const onChen = () => {
    iscomenaa.value = yiduList
}


</script>

<style lang="scss" scoped></style>